﻿using System.Text.Json.Serialization;

namespace movie.tool.module.film.model
{
    /// <summary>
    /// 剧本中的一慕
    /// </summary>
    public class Scene
    {
        private int sequence;
        private string name;
        private string file;
        /// <summary>
        /// 排序序号,从小到大
        /// </summary>
        [JsonPropertyNameAttribute("sequence")]
        public int Sequence { get => sequence; set => sequence = value; }
        /// <summary>
        /// 名称
        /// </summary>
        [JsonPropertyNameAttribute("name")]
        public string Name { get => name; set => name = value; }
        /// <summary>
        /// 播放的文件
        /// </summary>
        [JsonPropertyNameAttribute("file")]
        public string File { get => file; set => file = value; }
        /// <summary>
        /// 1-循环播放;2-播放结束自动播放下一幕;3-播放结束停止播放;4-投影第一组线索并循环播放
        /// </summary>
        [JsonPropertyNameAttribute("playMode")]
        public int PlayMode { get; set; }
    }
}
